﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="HocSinh.aspx.cs" Inherits="QuanLyDiemHocSinh.Xem_In_Diem" %><%@ Register src="Controls/Khung_Dang_Nhap.ascx" tagname="Khung_Dang_Nhap" tagprefix="uc1" %>
<%@ Register src="Controls/Menu_Trai_Hs.ascx" tagname="Menu_Trai_Hs" tagprefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .auto-style3 {
            width: 344px;
        }
        .current {
            width: 1020px;
        }
        .auto-style7 {
        }
        .auto-style8 {
            width: 1973px;
        }
        .auto-style9 {
            width: 100%;
        }
        .auto-style10 {
            width: 175px;
        }
        .auto-style11 {
            width: 870px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table class="current">
        <tr>
            <td class="auto-style8">&nbsp;</td>
            <td class="auto-style11">
                <uc1:Khung_Dang_Nhap ID="Khung_Dang_Nhap1" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="auto-style7" colspan="2">
                <table class="auto-style9">
                    <tr>
                        <td class="auto-style10">
                            <uc2:Menu_Trai_Hs ID="Menu_Trai_Hs1" runat="server" />
                        </td>
                        <td>
                            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="MaHocSinh" DataSourceID="SqlDataSource1" BackColor="White" BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Vertical">
                                <AlternatingRowStyle BackColor="#DCDCDC" />
                                <Columns>
                                    <asp:BoundField DataField="MaHocSinh" HeaderText="Mã học sinh" ReadOnly="True" SortExpression="MaHocSinh" />
                                    <asp:BoundField DataField="TenHocSinh" HeaderText="Họ và Tên" SortExpression="TenHocSinh" />
                                    <asp:BoundField DataField="NgaySinh" HeaderText="Ngày Sinh" SortExpression="NgaySinh" />
                                    <asp:BoundField DataField="NoiSinh" HeaderText="Nơi Sinh" SortExpression="NoiSinh" />
                                    <asp:BoundField DataField="GioiTinh" HeaderText="Giới tính" SortExpression="GioiTinh" />
                                    <asp:BoundField DataField="DiaChi" HeaderText="Địa chỉ" SortExpression="DiaChi" />
                                </Columns>
                                <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
                                <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
                                <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                                <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
                                <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
                                <SortedAscendingCellStyle BackColor="#F1F1F1" />
                                <SortedAscendingHeaderStyle BackColor="#0000A9" />
                                <SortedDescendingCellStyle BackColor="#CAC9C9" />
                                <SortedDescendingHeaderStyle BackColor="#000065" />
                            </asp:GridView>
                            <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:QuanLyDiemConnectionString %>" SelectCommand="SELECT * FROM [HocSinh] where MaHocSinh=@tendn">
                                <SelectParameters>
                                    <asp:SessionParameter Name="tendn" SessionField="tendn" />
                                </SelectParameters>
                            </asp:SqlDataSource>
                           
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
